<template>
	<view>
		<image src="http://www.baidu.com/img/bdlogo.png"></image>
		 <view>{{msg}}</view>
		 <button @click="click(20,$event)">test</button>
	</view>
	
</template>

<script>
	export default{
	data()
	{
		return{
			msg: 'tset'
		}
	},
	methods:{
		click(num,e)
		{
		}
	},
	onload(options){
		console.log('页面加载'+options);

	},
	onShow()
	{
		console.log('页面显示');
	},
	onHide()
	{
		console.log('页面隐藏');
	}
	}
</script>